<?php $this->load('upload_header')?>

<div style="padding-bottom:5px;">
	<form name="s" method="post" action="?mod=upload&ac=all">
	<select name="year">
		<option value=""></option>
	<?php
	for ($i=$minyear; $i<=$curyear; $i++) {
		$str = $i == $year ? ' selected="selected"' : '';
		echo '<option value="'.$i.'"'.$str.'>'.$i.'</option>';
	}
	?>
		</select><?php _e('年')?>
	<select name="month">
		<option value=""></option>
	<?php
	for ($i=1; $i<=12; $i++) {
		$str = $i == $month ? ' selected="selected"' : '';
		echo '<option value="'.$i.'"'.$str.'>'.$i.'</option>';
	}
	?>
	</select><?php _e('月')?>
	<input type="text" name="keyword" value="<?php echo $keyword?>" style="width:80px" />
	<input type="submit" style="width:50px" name="submit" value="<?php _e('搜索')?>">
	</form>
</div>
	

<?php $this->load('upload_footer')?>